import service from '@/utils/request.js'

export const getGoods = (key, num = 1) => {
  return service({
    methods: 'get',
    // https://api.iyk0.com/tbsp/?msg=iPhone11&n=&type=json
    url: `/tbsp/?msg=${key}&n=${num}&type=json`
  })
}
